package com.hd.usercenter.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hd.usercenter.model.domain.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author 86137
* @description 针对表【user】的数据库操作Mapper
* @createDate 2024-06-17 15:52:40
* @Entity generator.domain.User
*/
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hd.usercenter.model.domain.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Map;

public interface UserMapper extends BaseMapper<User> {
    // 其他方法...

    @Select("SELECT * FROM user ${ew.customSqlSegment}")
    <P extends IPage<Map<String, Object>>> P selectMapsPage(P page, @Param("ew") Wrapper<User> wrapper);
}




